package com.y.factory.humanFactory;

import com.y.factory.Human;
import com.y.factory.HumanEnum;

/**
 * 男性创建工厂
 * @author Administrator
 *
 */
public class MaleHumanFactory extends AbstractHumanFactory {

	public Human createYellowHuman() {
		return super.createHuman(HumanEnum.YellowMaleHuman);
	}

	public Human createBlackHuman() {
		return super.createHuman(HumanEnum.BlackMaleHuman);
	}

	public Human createWhiteHuman() {
		return super.createHuman(HumanEnum.WhiteMaleHuman);
	}

}
